package org.sy.lab.多线程基础._3_同步辅助类._2_CountDownLatch门阀;

public class MyThread implements Runnable {
	
	private Crowdfunding crowdfunding;
	
	public MyThread(Crowdfunding crowdfunding) {
		this.crowdfunding = crowdfunding;
	}
	
	@Override
	public void run() {
		crowdfunding.join(Thread.currentThread().getName());
	}
}
